//
//  GoodsDetailNavView.m
//  StandardizedProduct
//
//  Created by 宁宁 on 16/7/20.
//  Copyright © 2016年 ym. All rights reserved.
//

#import "GoodsDetailNavView.h"

@implementation GoodsDetailNavView

- (IBAction)back:(id)sender {
    _navClick(@"back");
}
//商品
- (IBAction)goods:(id)sender {
    _navClick(@"goods");
    [UIView animateWithDuration:0.1 animations:^{
        _slider.frame = CGRectMake(SCREEN_WIDTH / 2 - 90, 62, 60, 2);
    }];
}
//详情
- (IBAction)detail:(id)sender {
    _navClick(@"detail");
    [UIView animateWithDuration:0.1 animations:^{
        _slider.frame = CGRectMake(SCREEN_WIDTH / 2 - 30, 62, 60, 2);
    }];
}
//评价
- (IBAction)evaluate:(id)sender {
    _navClick(@"evaluate");
    [UIView animateWithDuration:0.1 animations:^{
        _slider.frame = CGRectMake(SCREEN_WIDTH / 2 + 30, 62, 60, 2);
    }];
}
//分享
- (IBAction)share:(id)sender {
    _navClick(@"share");
}

@end
